<!doctype html>
<html lang="en">
 <head>
  <meta charset="UTF-8">
  <meta name="Generator" content="EditPlus®">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
  <title>Document</title>
  <style>
      #div1{
          width: 100px;
          height: 100px;
          border: solid 1px red;

        }
	 #div2{
        width: 400px;
        height: 400px;
        border: solid 1px black;

      }
    </style>
 </head>
 <body>
  <div  id="div1"></div>

  <div id="div2"></div>
 </body>
 <script>
     var ss = document.getElementById("div1");
     ss.style.backgroundColor="red";

	 var img = document.getElementById("div2");
	 img.style.backgroundImage="url(img_14.jpg)"
</script>
</html>
